package com.woniu.zsd.recycle.mapper;

import com.woniu.zsd.recycle.dto.RecycleDtatistics;
import com.woniu.zsd.recycle.model.RecyclingRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 彭于晏
 * @since 2025年02月18日
 */
@Mapper
public interface RecyclingRecordMapper extends BaseMapper<RecyclingRecord> {
    List<RecycleDtatistics> selectRecycleStatistics(@Param("startOfDay") LocalDateTime startOfDay, @Param("endOfDay") LocalDateTime endOfDay);
}
